package com.ydc.ln.tutorial.j2se.ms;

/**
 * 变量相关测试
 * 
 * @author ydc
 * @date 上午10:19:34 2013-7-11
 */
public class ValueTest {
    private int court;
    
    public static void main(String[] args) {
        ValueTest vt = new ValueTest(99);
        System.out.println(vt.court);
    }
    
    ValueTest (int court) {
        this.court = court;
    }
}

class Value2Test {
    public static void main(String[] args) {
        ValueTest vt = new ValueTest(99);
        // System.out.println(vt.court);
    }
}

